package com.czk.dao;

import com.czk.anotation.TableShared;
import com.czk.interfaces.ITableSharedStrategyId;
import com.czk.pojo.LogId;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/5/17 11:23
 */
@Mapper
@TableShared(tablePrefix = "tb_log_id", fieldFlag = true, sharedStrategy = ITableSharedStrategyId.class,value = "id")
public interface LogIdMapper {
    /**
     * 查询一个
     *
     * @param id
     * @return
     */
    LogId queryOne(@Param("id") Long id);

    /**
     * 保存一个
     *
     * @param logId
     */
    void save(LogId logId);
}
